 <%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="tr09"  uri="http://www.trkj.com/logs" %>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt"   uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<title>我的订单</title>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=2.0, user-scalable=yes" /> 
<link rel="stylesheet" type="text/css" href="styles.css" />
<script type="text/javascript" src="jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="js/web1.js"></script>
<style>
.t {
	border-collapse: collapse;
	border: none;
	width: 90%;
	margin-left: 20px;
}

.t td {
	text-align: center;
}

th, td {
	padding: 8px;
	border: none;
	border-bottom: 1px solid #CCC;
}

th {
	color: gray;
}

td {
	font-size: 14px;
}
</style>
</head>
<body style="min-width:980px;">
	<div id="main_top">
		<jsp:include page="headarea.jsp"></jsp:include>
	</div>
	<div class="header_wrape">
		<div class="navwrape">
			<div id="nave">
				<div class="navbare clearfix">
					<a class="currente" href="menu_listservlet">首页</a> <a href="Close_List">衣服</a>
					<a href="Shose_List"">鞋靴</a> <a href="Pant_List">裤子</a>
				</div>
			</div>
		</div>
	</div>
	<div class="block box">
				<div class="blank"></div>
				<div id="ur_here">
					当前位置: <a href="menu_listservlet">首页</a>
					<code>&gt;</code>
					我的订单
				</div>
			</div>
			<div>
				<div id="main_middle_left">
					<jsp:include page="left.jsp">
						<jsp:param value="2" name="index" />
					</jsp:include>
				</div>
				<div id="main_middle_right">
					<div class="AreaR" >
						<div class="box" >
							<div class="box_1">
								<div class="userCenterBox boxCenterList clearfix"
									style="_height:1%;">
									<h5>
										<span>我的订单->订单列表</span>
									</h5>
									<table width="99%" border="0" cellpadding="5" cellspacing="1"
										bgcolor="#dddddd">
										<tr align="left">
										    <td bgcolor=#ffffff>商品名称</td>
											<td bgcolor="#ffffff">订单号</td>
										    <td bgcolor="#ffffff">下单时间</td>
											<td bgcolor="#ffffff">订单总金额</td>
										    <td bgcolor="#ffffff">订单状态</td>
										    <td bgcolor="#ffffff">操作</td>
										</tr>
										<c:forEach items="${list}" var="o">
										  <tr align="left">
										     <td bgcolor="#ffffff">${o.cName}</td>
											 <td bgcolor="#ffffff">${o.oId}</td>
											 <td bgcolor="#ffffff">
											        <fmt:formatDate value="${o.oDate}" pattern="yyyy-MM-dd HH:mm:ss" />
											  </td>
											  <td bgcolor="#ffffff">${o.oPrice}</td>
											  <td bgcolor="#ffffff">${o.oState}</td>
											  <td bgcolor="#ffffff"><a href="delete?oId=${o.oId }&curpage=${param.curpage}"><img title="删除订单" src="images/删除评论.png" valign="middle"></td></a>
										 </tr>
									   </c:forEach>
									  </table>
									<div class="blank5"></div>
								</div>
								<div class="pager">
                                   <tr09:pager url="orderlist" pagesize="5"   total="${total}"   curpage="${param.curpage}"/>
                               </div> 
							</div>
						</div>
					</div>
				</div>
					<div class="blank"></div>
			 </div>
			<div id="end_div" style="margin-top:-16px;">
				<jsp:include page="end.jsp"></jsp:include>
			</div>
</body>
</html>
